import { post } from "@/utils/request";
import config from "@/config/api/loginConfig"

export const loginApi = async userdata => {
  let res = await (await post(config.login, userdata)).backMsg
  // console.log('loginApi',res);
  return res
}